package io.framework.modules.water.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 饮用水源地/检测断面 水质类别表
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-22
 */
@Data
@ApiModel(value = "饮用水源地/检测断面 水质类别表")
public class WaterDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Long id;

	@ApiModelProperty(value = "站点id")
	private Long stationId;

	@ApiModelProperty(value = "水质名称")
	private String name;

	@ApiModelProperty(value = "上传数据月份")
	@JsonFormat(pattern="yyyy-MM")
	private Date month;

	@ApiModelProperty(value = "类型 1-饮用水源地 2-检测断面")
	private Integer type;

	@ApiModelProperty(value = "当前月份 1-12月")
	private String monthNow;

	@ApiModelProperty(value = "当前月份水质类别")
	private String monthClassify;

	@ApiModelProperty(value = "全年平均")
	private String yearAvg;

	@ApiModelProperty(value = "达标率")
	private String passRate;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date createDate;

	@ApiModelProperty(value = "备注")
	private String drRemarks;

}
